<template>
	<view>
		<input-fixed></input-fixed>
		<view class="flex" style="height: 100%;">
			<!-- 使用uniapp需要给scroll-view具体的高度，原生小程序不需要给 -->
			<scroll-view class="left-scroll" style="flex: 2;"  scroll-y :scroll-into-view="'leftIndex'+leftIndex"   :style="'height:'+windowHeight+'px'" >
				<view class="view-item left-scroll-item" 
							v-for="(item,index) in leftList" :key="index"
							:class="leftIndex===index?'left-active':''" 
							@tap="leftClick(index)"
							:id="'leftIndex'+index"
				>{{item}}</view>
			</scroll-view>
			<swiper style="flex: 5;margin-top: 80rpx;" vertical :style="'height:'+windowHeight+'px'" :current-item-id="'rightIndex'+rightIndex" @change="swiperChange">
				<swiper-item v-for="(item,index) in rightList" :key="index" :item-id="'rightIndex'+index">
					<scroll-view class="right-scroll" scroll-y  :style="'height:'+windowHeight+'px'" >
						<view class="right-scroll-item" >
							<view class="flex flex-wrap " style="" >
								<view class="view-item flex flex-align-items justify-content padding-y-20" style="flex-direction: column; width: 33.33%;"
										v-for="(item2,index2) in item.list" :key="'item'+index2">
									<image :src="item2.src" style="width: 50%" mode="widthFix"></image>
									<view >{{item2.name}}{{index}}</view>
									
								</view>
							</view>
							<view class="" style="text-align: center;">
								--- 上下滚动 ---
							</view>
							
						</view>
					</scroll-view>
				</swiper-item>
				
			</swiper>
			
		</view>
	</view>
</template>


<script>
	import inputFixed from "../../componets/input-fixed.vue"
	export default {
		components:{
			inputFixed
		},
		data() {
			return {
				windowHeight:1000,
				leftIndex:0,
				rightIndex:0,
				leftList:['大家电',"房产","童装","苏宁房产","手机相机","电脑办公","厨卫电器","食品酒水","居家生活","生活电器","个护健康","女鞋","箱包","图书","安装维修","珠宝首饰","汽车用品","电脑办公","厨卫电器","食品酒水"],
				rightList:[
					{
						id:0,
						list:[
							{name:"超薄电视",src:"https://img12.360buyimg.com/n7/jfs/t1/151996/14/4289/129171/5f9e55a8Ea9cea59e/2fcf1784d55f8d00.jpg"},
							{name:"全屏电视",src:"https://img13.360buyimg.com/n7/jfs/t1/136206/4/5665/136008/5f23d979Ee67b2b61/df37aa8cb97b6df8.jpg"},
							{name:"智能电视",src:"https://img13.360buyimg.com/n7/jfs/t1/136206/4/5665/136008/5f23d979Ee67b2b61/df37aa8cb97b6df8.jpg"},
							{name:"OLED电视",src:"https://img10.360buyimg.com/n7/jfs/t1/111515/40/12504/189047/5f11a4f5Eedb5a064/bc0a6bb5ed6adc7a.jpg"},
							{name:"智慧屏",src:"https://img10.360buyimg.com/n7/jfs/t1/121057/23/18288/254988/5fac1172E3bb85324/bbce8c5d3ece322f.jpg"},
							{name:"空调挂机",src:"https://img14.360buyimg.com/n7/jfs/t1/124236/13/18570/115618/5fae3ff8Ebf1437ec/bb5ac1f197cefb76.jpg"},
							{name:"中央空调",src:"https://img10.360buyimg.com/n7/jfs/t1/150944/5/6379/151424/5fac1a2fEd16fbabf/3bbe66082bc88f48.jpg"},
							{name:"超薄电视",src:"https://img12.360buyimg.com/n7/jfs/t1/151996/14/4289/129171/5f9e55a8Ea9cea59e/2fcf1784d55f8d00.jpg"},
							{name:"全屏电视",src:"https://img13.360buyimg.com/n7/jfs/t1/136206/4/5665/136008/5f23d979Ee67b2b61/df37aa8cb97b6df8.jpg"},
							{name:"智能电视",src:"https://img13.360buyimg.com/n7/jfs/t1/136206/4/5665/136008/5f23d979Ee67b2b61/df37aa8cb97b6df8.jpg"},
							{name:"OLED电视",src:"https://img10.360buyimg.com/n7/jfs/t1/111515/40/12504/189047/5f11a4f5Eedb5a064/bc0a6bb5ed6adc7a.jpg"},
							{name:"智慧屏",src:"https://img10.360buyimg.com/n7/jfs/t1/121057/23/18288/254988/5fac1172E3bb85324/bbce8c5d3ece322f.jpg"},
							{name:"空调挂机",src:"https://img14.360buyimg.com/n7/jfs/t1/124236/13/18570/115618/5fae3ff8Ebf1437ec/bb5ac1f197cefb76.jpg"},
							{name:"中央空调",src:"https://img10.360buyimg.com/n7/jfs/t1/150944/5/6379/151424/5fac1a2fEd16fbabf/3bbe66082bc88f48.jpg"},
							{name:"超薄电视",src:"https://img12.360buyimg.com/n7/jfs/t1/151996/14/4289/129171/5f9e55a8Ea9cea59e/2fcf1784d55f8d00.jpg"},
							{name:"全屏电视",src:"https://img13.360buyimg.com/n7/jfs/t1/136206/4/5665/136008/5f23d979Ee67b2b61/df37aa8cb97b6df8.jpg"},
							{name:"智能电视",src:"https://img13.360buyimg.com/n7/jfs/t1/136206/4/5665/136008/5f23d979Ee67b2b61/df37aa8cb97b6df8.jpg"},
							{name:"OLED电视",src:"https://img10.360buyimg.com/n7/jfs/t1/111515/40/12504/189047/5f11a4f5Eedb5a064/bc0a6bb5ed6adc7a.jpg"},
							{name:"智慧屏",src:"https://img10.360buyimg.com/n7/jfs/t1/121057/23/18288/254988/5fac1172E3bb85324/bbce8c5d3ece322f.jpg"},
							{name:"空调挂机",src:"https://img14.360buyimg.com/n7/jfs/t1/124236/13/18570/115618/5fae3ff8Ebf1437ec/bb5ac1f197cefb76.jpg"},
							{name:"中央空调",src:"https://img10.360buyimg.com/n7/jfs/t1/150944/5/6379/151424/5fac1a2fEd16fbabf/3bbe66082bc88f48.jpg"},
							{name:"超薄电视",src:"https://img12.360buyimg.com/n7/jfs/t1/151996/14/4289/129171/5f9e55a8Ea9cea59e/2fcf1784d55f8d00.jpg"},
							{name:"全屏电视",src:"https://img13.360buyimg.com/n7/jfs/t1/136206/4/5665/136008/5f23d979Ee67b2b61/df37aa8cb97b6df8.jpg"},
							{name:"智能电视",src:"https://img13.360buyimg.com/n7/jfs/t1/136206/4/5665/136008/5f23d979Ee67b2b61/df37aa8cb97b6df8.jpg"},
							{name:"OLED电视",src:"https://img10.360buyimg.com/n7/jfs/t1/111515/40/12504/189047/5f11a4f5Eedb5a064/bc0a6bb5ed6adc7a.jpg"},
							{name:"智慧屏",src:"https://img10.360buyimg.com/n7/jfs/t1/121057/23/18288/254988/5fac1172E3bb85324/bbce8c5d3ece322f.jpg"},
							{name:"空调挂机",src:"https://img14.360buyimg.com/n7/jfs/t1/124236/13/18570/115618/5fae3ff8Ebf1437ec/bb5ac1f197cefb76.jpg"},
							{name:"中央空调",src:"https://img10.360buyimg.com/n7/jfs/t1/150944/5/6379/151424/5fac1a2fEd16fbabf/3bbe66082bc88f48.jpg"},
							{name:"超薄电视",src:"https://img12.360buyimg.com/n7/jfs/t1/151996/14/4289/129171/5f9e55a8Ea9cea59e/2fcf1784d55f8d00.jpg"},
							{name:"全屏电视",src:"https://img13.360buyimg.com/n7/jfs/t1/136206/4/5665/136008/5f23d979Ee67b2b61/df37aa8cb97b6df8.jpg"},
							{name:"智能电视",src:"https://img13.360buyimg.com/n7/jfs/t1/136206/4/5665/136008/5f23d979Ee67b2b61/df37aa8cb97b6df8.jpg"},
							{name:"OLED电视",src:"https://img10.360buyimg.com/n7/jfs/t1/111515/40/12504/189047/5f11a4f5Eedb5a064/bc0a6bb5ed6adc7a.jpg"},
							{name:"智慧屏",src:"https://img10.360buyimg.com/n7/jfs/t1/121057/23/18288/254988/5fac1172E3bb85324/bbce8c5d3ece322f.jpg"},
							{name:"空调挂机",src:"https://img14.360buyimg.com/n7/jfs/t1/124236/13/18570/115618/5fae3ff8Ebf1437ec/bb5ac1f197cefb76.jpg"},
							{name:"中央空调",src:"https://img10.360buyimg.com/n7/jfs/t1/150944/5/6379/151424/5fac1a2fEd16fbabf/3bbe66082bc88f48.jpg"},
							{name:"智慧屏",src:"https://img10.360buyimg.com/n7/jfs/t1/121057/23/18288/254988/5fac1172E3bb85324/bbce8c5d3ece322f.jpg"},
							{name:"空调挂机",src:"https://img14.360buyimg.com/n7/jfs/t1/124236/13/18570/115618/5fae3ff8Ebf1437ec/bb5ac1f197cefb76.jpg"},
							{name:"中央空调",src:"https://img10.360buyimg.com/n7/jfs/t1/150944/5/6379/151424/5fac1a2fEd16fbabf/3bbe66082bc88f48.jpg"},
							{name:"OLED电视",src:"https://img10.360buyimg.com/n7/jfs/t1/111515/40/12504/189047/5f11a4f5Eedb5a064/bc0a6bb5ed6adc7a.jpg"},
							{name:"OLED电视",src:"https://img10.360buyimg.com/n7/jfs/t1/111515/40/12504/189047/5f11a4f5Eedb5a064/bc0a6bb5ed6adc7a.jpg"}
						]
					},
					{
						id:1,
						list:[
							{name:"最新开盘",src:"http://img10.360buyimg.com/da/s250x250_jfs/t1/133928/26/8935/362960/5f4e31fdE11e8ce86/b542f350ae19b255.jpg!q70"},
							{name:"普通住宅",src:"http://img10.360buyimg.com/da/s250x250_jfs/t1/147851/3/7883/236604/5f56eb26E305661b8/aea8a1ce818e9711.jpg!q70"},
							{name:"别墅",src:"http://img10.360buyimg.com/da/s250x250_jfs/t27541/148/1233512651/228710/d2fcde49/5bc4304dNebac237b.jpg!q70"},
						]
					},
					{
						id:2,
						list:[
							// {name:"套装",src:"https://img10.360buyimg.com/n7/jfs/t1/128870/11/18489/237450/5fad5e4eEb55c362c/bc9e3547c2553cef.jpg"},
							// {name:"卫衣",src:"https://img11.360buyimg.com/n7/jfs/t1/146150/14/6281/80930/5f41ef93Ed68aa366/46fba00a86482263.jpg"},
							// {name:"衬衫",src:"https://img11.360buyimg.com/n7/jfs/t1/140710/2/13639/203386/5fa7eba1Edae5cf4c/9ad89335e4c517b9.jpg"},
							// {name:"裙子",src:"https://img13.360buyimg.com/n7/jfs/t1/151017/38/5757/202092/5fa4bf22Ed38f2f99/c2b7634b8204b6c6.jpg"},
							// {name:"连体衣",src:"https://img14.360buyimg.com/n7/jfs/t1/118744/37/14014/46960/5f2ca5c8Ecd06d56a/d5d5a3e3a09b526d.jpg"},
						]
					},
					{
						id:3,
						list:[
							{name:"超薄电视",src:"https://img12.360buyimg.com/n7/jfs/t1/151996/14/4289/129171/5f9e55a8Ea9cea59e/2fcf1784d55f8d00.jpg"},
							{name:"全屏电视",src:"https://img13.360buyimg.com/n7/jfs/t1/136206/4/5665/136008/5f23d979Ee67b2b61/df37aa8cb97b6df8.jpg"},
							{name:"智能电视",src:"https://img13.360buyimg.com/n7/jfs/t1/136206/4/5665/136008/5f23d979Ee67b2b61/df37aa8cb97b6df8.jpg"},
							{name:"OLED电视",src:"https://img10.360buyimg.com/n7/jfs/t1/111515/40/12504/189047/5f11a4f5Eedb5a064/bc0a6bb5ed6adc7a.jpg"},
							{name:"智慧屏",src:"https://img10.360buyimg.com/n7/jfs/t1/121057/23/18288/254988/5fac1172E3bb85324/bbce8c5d3ece322f.jpg"},
							{name:"空调挂机",src:"https://img14.360buyimg.com/n7/jfs/t1/124236/13/18570/115618/5fae3ff8Ebf1437ec/bb5ac1f197cefb76.jpg"},
							{name:"中央空调",src:"https://img10.360buyimg.com/n7/jfs/t1/150944/5/6379/151424/5fac1a2fEd16fbabf/3bbe66082bc88f48.jpg"}
						]
					},
					{
						id:4,
						list:[
							{name:"最新开盘",src:"http://img10.360buyimg.com/da/s250x250_jfs/t1/133928/26/8935/362960/5f4e31fdE11e8ce86/b542f350ae19b255.jpg!q70"},
							{name:"普通住宅",src:"http://img10.360buyimg.com/da/s250x250_jfs/t1/147851/3/7883/236604/5f56eb26E305661b8/aea8a1ce818e9711.jpg!q70"},
							{name:"别墅",src:"http://img10.360buyimg.com/da/s250x250_jfs/t27541/148/1233512651/228710/d2fcde49/5bc4304dNebac237b.jpg!q70"},
							{name:"商业办公",src:"http://img10.360buyimg.com/da/s250x250_jfs/t1/63249/22/642/326686/5ceca75bE9784ea1d/6757bf35003cc404.jpg!q70"},
							{name:"文旅地产",src:"http://img10.360buyimg.com/da/s250x250_jfs/t1/100504/26/11694/292103/5e3b9d42E002cc0ba/b5dd84bb3b985f87.jpg!q70"}
						]
					},
					{
						id:5,
						list:[
							{name:"套装",src:"https://img10.360buyimg.com/n7/jfs/t1/128870/11/18489/237450/5fad5e4eEb55c362c/bc9e3547c2553cef.jpg"},
							{name:"卫衣",src:"https://img11.360buyimg.com/n7/jfs/t1/146150/14/6281/80930/5f41ef93Ed68aa366/46fba00a86482263.jpg"},
							{name:"衬衫",src:"https://img11.360buyimg.com/n7/jfs/t1/140710/2/13639/203386/5fa7eba1Edae5cf4c/9ad89335e4c517b9.jpg"},
							{name:"裙子",src:"https://img13.360buyimg.com/n7/jfs/t1/151017/38/5757/202092/5fa4bf22Ed38f2f99/c2b7634b8204b6c6.jpg"},
							{name:"连体衣",src:"https://img14.360buyimg.com/n7/jfs/t1/118744/37/14014/46960/5f2ca5c8Ecd06d56a/d5d5a3e3a09b526d.jpg"},
						]
					},
					{
						id:6,
						list:[
							{name:"超薄电视",src:"https://img12.360buyimg.com/n7/jfs/t1/151996/14/4289/129171/5f9e55a8Ea9cea59e/2fcf1784d55f8d00.jpg"},
							{name:"全屏电视",src:"https://img13.360buyimg.com/n7/jfs/t1/136206/4/5665/136008/5f23d979Ee67b2b61/df37aa8cb97b6df8.jpg"},
							{name:"智能电视",src:"https://img13.360buyimg.com/n7/jfs/t1/136206/4/5665/136008/5f23d979Ee67b2b61/df37aa8cb97b6df8.jpg"},
							{name:"OLED电视",src:"https://img10.360buyimg.com/n7/jfs/t1/111515/40/12504/189047/5f11a4f5Eedb5a064/bc0a6bb5ed6adc7a.jpg"},
							{name:"智慧屏",src:"https://img10.360buyimg.com/n7/jfs/t1/121057/23/18288/254988/5fac1172E3bb85324/bbce8c5d3ece322f.jpg"},
							{name:"空调挂机",src:"https://img14.360buyimg.com/n7/jfs/t1/124236/13/18570/115618/5fae3ff8Ebf1437ec/bb5ac1f197cefb76.jpg"},
							{name:"中央空调",src:"https://img10.360buyimg.com/n7/jfs/t1/150944/5/6379/151424/5fac1a2fEd16fbabf/3bbe66082bc88f48.jpg"}
						]
					},
					{
						id:7,
						list:[
							{name:"最新开盘",src:"http://img10.360buyimg.com/da/s250x250_jfs/t1/133928/26/8935/362960/5f4e31fdE11e8ce86/b542f350ae19b255.jpg!q70"},
							{name:"普通住宅",src:"http://img10.360buyimg.com/da/s250x250_jfs/t1/147851/3/7883/236604/5f56eb26E305661b8/aea8a1ce818e9711.jpg!q70"},
							{name:"别墅",src:"http://img10.360buyimg.com/da/s250x250_jfs/t27541/148/1233512651/228710/d2fcde49/5bc4304dNebac237b.jpg!q70"},
							{name:"商业办公",src:"http://img10.360buyimg.com/da/s250x250_jfs/t1/63249/22/642/326686/5ceca75bE9784ea1d/6757bf35003cc404.jpg!q70"},
							{name:"文旅地产",src:"http://img10.360buyimg.com/da/s250x250_jfs/t1/100504/26/11694/292103/5e3b9d42E002cc0ba/b5dd84bb3b985f87.jpg!q70"}
						]
					},
					{
						id:8,
						list:[
							{name:"套装",src:"https://img10.360buyimg.com/n7/jfs/t1/128870/11/18489/237450/5fad5e4eEb55c362c/bc9e3547c2553cef.jpg"},
							{name:"卫衣",src:"https://img11.360buyimg.com/n7/jfs/t1/146150/14/6281/80930/5f41ef93Ed68aa366/46fba00a86482263.jpg"},
							{name:"衬衫",src:"https://img11.360buyimg.com/n7/jfs/t1/140710/2/13639/203386/5fa7eba1Edae5cf4c/9ad89335e4c517b9.jpg"},
							{name:"裙子",src:"https://img13.360buyimg.com/n7/jfs/t1/151017/38/5757/202092/5fa4bf22Ed38f2f99/c2b7634b8204b6c6.jpg"},
							{name:"连体衣",src:"https://img14.360buyimg.com/n7/jfs/t1/118744/37/14014/46960/5f2ca5c8Ecd06d56a/d5d5a3e3a09b526d.jpg"},
						]
					},
					{
						id:9,
						list:[
							{name:"超薄电视",src:"https://img12.360buyimg.com/n7/jfs/t1/151996/14/4289/129171/5f9e55a8Ea9cea59e/2fcf1784d55f8d00.jpg"},
							{name:"全屏电视",src:"https://img13.360buyimg.com/n7/jfs/t1/136206/4/5665/136008/5f23d979Ee67b2b61/df37aa8cb97b6df8.jpg"},
							{name:"智能电视",src:"https://img13.360buyimg.com/n7/jfs/t1/136206/4/5665/136008/5f23d979Ee67b2b61/df37aa8cb97b6df8.jpg"},
							{name:"OLED电视",src:"https://img10.360buyimg.com/n7/jfs/t1/111515/40/12504/189047/5f11a4f5Eedb5a064/bc0a6bb5ed6adc7a.jpg"},
							{name:"智慧屏",src:"https://img10.360buyimg.com/n7/jfs/t1/121057/23/18288/254988/5fac1172E3bb85324/bbce8c5d3ece322f.jpg"},
							{name:"空调挂机",src:"https://img14.360buyimg.com/n7/jfs/t1/124236/13/18570/115618/5fae3ff8Ebf1437ec/bb5ac1f197cefb76.jpg"},
							{name:"中央空调",src:"https://img10.360buyimg.com/n7/jfs/t1/150944/5/6379/151424/5fac1a2fEd16fbabf/3bbe66082bc88f48.jpg"}
						]
					},
					{
						id:10,
						list:[
							{name:"最新开盘",src:"http://img10.360buyimg.com/da/s250x250_jfs/t1/133928/26/8935/362960/5f4e31fdE11e8ce86/b542f350ae19b255.jpg!q70"},
							{name:"普通住宅",src:"http://img10.360buyimg.com/da/s250x250_jfs/t1/147851/3/7883/236604/5f56eb26E305661b8/aea8a1ce818e9711.jpg!q70"},
							{name:"别墅",src:"http://img10.360buyimg.com/da/s250x250_jfs/t27541/148/1233512651/228710/d2fcde49/5bc4304dNebac237b.jpg!q70"},
							{name:"商业办公",src:"http://img10.360buyimg.com/da/s250x250_jfs/t1/63249/22/642/326686/5ceca75bE9784ea1d/6757bf35003cc404.jpg!q70"},
							{name:"文旅地产",src:"http://img10.360buyimg.com/da/s250x250_jfs/t1/100504/26/11694/292103/5e3b9d42E002cc0ba/b5dd84bb3b985f87.jpg!q70"}
						]
					},
					{
						id:11,
						list:[
							{name:"套装",src:"https://img10.360buyimg.com/n7/jfs/t1/128870/11/18489/237450/5fad5e4eEb55c362c/bc9e3547c2553cef.jpg"},
							{name:"卫衣",src:"https://img11.360buyimg.com/n7/jfs/t1/146150/14/6281/80930/5f41ef93Ed68aa366/46fba00a86482263.jpg"},
							{name:"衬衫",src:"https://img11.360buyimg.com/n7/jfs/t1/140710/2/13639/203386/5fa7eba1Edae5cf4c/9ad89335e4c517b9.jpg"},
							{name:"裙子",src:"https://img13.360buyimg.com/n7/jfs/t1/151017/38/5757/202092/5fa4bf22Ed38f2f99/c2b7634b8204b6c6.jpg"},
							{name:"连体衣",src:"https://img14.360buyimg.com/n7/jfs/t1/118744/37/14014/46960/5f2ca5c8Ecd06d56a/d5d5a3e3a09b526d.jpg"},
						]
					},
					{
						id:12,
						list:[
							{name:"超薄电视",src:"https://img12.360buyimg.com/n7/jfs/t1/151996/14/4289/129171/5f9e55a8Ea9cea59e/2fcf1784d55f8d00.jpg"},
							{name:"全屏电视",src:"https://img13.360buyimg.com/n7/jfs/t1/136206/4/5665/136008/5f23d979Ee67b2b61/df37aa8cb97b6df8.jpg"},
							{name:"智能电视",src:"https://img13.360buyimg.com/n7/jfs/t1/136206/4/5665/136008/5f23d979Ee67b2b61/df37aa8cb97b6df8.jpg"},
							{name:"OLED电视",src:"https://img10.360buyimg.com/n7/jfs/t1/111515/40/12504/189047/5f11a4f5Eedb5a064/bc0a6bb5ed6adc7a.jpg"},
							{name:"智慧屏",src:"https://img10.360buyimg.com/n7/jfs/t1/121057/23/18288/254988/5fac1172E3bb85324/bbce8c5d3ece322f.jpg"},
							{name:"空调挂机",src:"https://img14.360buyimg.com/n7/jfs/t1/124236/13/18570/115618/5fae3ff8Ebf1437ec/bb5ac1f197cefb76.jpg"},
							{name:"中央空调",src:"https://img10.360buyimg.com/n7/jfs/t1/150944/5/6379/151424/5fac1a2fEd16fbabf/3bbe66082bc88f48.jpg"}
						]
					},
					{
						id:13,
						list:[
							{name:"最新开盘",src:"http://img10.360buyimg.com/da/s250x250_jfs/t1/133928/26/8935/362960/5f4e31fdE11e8ce86/b542f350ae19b255.jpg!q70"},
							{name:"普通住宅",src:"http://img10.360buyimg.com/da/s250x250_jfs/t1/147851/3/7883/236604/5f56eb26E305661b8/aea8a1ce818e9711.jpg!q70"},
							{name:"别墅",src:"http://img10.360buyimg.com/da/s250x250_jfs/t27541/148/1233512651/228710/d2fcde49/5bc4304dNebac237b.jpg!q70"},
							{name:"商业办公",src:"http://img10.360buyimg.com/da/s250x250_jfs/t1/63249/22/642/326686/5ceca75bE9784ea1d/6757bf35003cc404.jpg!q70"},
							{name:"文旅地产",src:"http://img10.360buyimg.com/da/s250x250_jfs/t1/100504/26/11694/292103/5e3b9d42E002cc0ba/b5dd84bb3b985f87.jpg!q70"}
						]
					},
					{
						id:14,
						list:[
							{name:"套装",src:"https://img10.360buyimg.com/n7/jfs/t1/128870/11/18489/237450/5fad5e4eEb55c362c/bc9e3547c2553cef.jpg"},
							{name:"卫衣",src:"https://img11.360buyimg.com/n7/jfs/t1/146150/14/6281/80930/5f41ef93Ed68aa366/46fba00a86482263.jpg"},
							{name:"衬衫",src:"https://img11.360buyimg.com/n7/jfs/t1/140710/2/13639/203386/5fa7eba1Edae5cf4c/9ad89335e4c517b9.jpg"},
							{name:"裙子",src:"https://img13.360buyimg.com/n7/jfs/t1/151017/38/5757/202092/5fa4bf22Ed38f2f99/c2b7634b8204b6c6.jpg"},
							{name:"连体衣",src:"https://img14.360buyimg.com/n7/jfs/t1/118744/37/14014/46960/5f2ca5c8Ecd06d56a/d5d5a3e3a09b526d.jpg"},
						]
					},
					{
						id:15,
						list:[
							{name:"超薄电视",src:"https://img12.360buyimg.com/n7/jfs/t1/151996/14/4289/129171/5f9e55a8Ea9cea59e/2fcf1784d55f8d00.jpg"},
							{name:"全屏电视",src:"https://img13.360buyimg.com/n7/jfs/t1/136206/4/5665/136008/5f23d979Ee67b2b61/df37aa8cb97b6df8.jpg"},
							{name:"智能电视",src:"https://img13.360buyimg.com/n7/jfs/t1/136206/4/5665/136008/5f23d979Ee67b2b61/df37aa8cb97b6df8.jpg"},
							{name:"OLED电视",src:"https://img10.360buyimg.com/n7/jfs/t1/111515/40/12504/189047/5f11a4f5Eedb5a064/bc0a6bb5ed6adc7a.jpg"},
							{name:"智慧屏",src:"https://img10.360buyimg.com/n7/jfs/t1/121057/23/18288/254988/5fac1172E3bb85324/bbce8c5d3ece322f.jpg"},
							{name:"空调挂机",src:"https://img14.360buyimg.com/n7/jfs/t1/124236/13/18570/115618/5fae3ff8Ebf1437ec/bb5ac1f197cefb76.jpg"},
							{name:"中央空调",src:"https://img10.360buyimg.com/n7/jfs/t1/150944/5/6379/151424/5fac1a2fEd16fbabf/3bbe66082bc88f48.jpg"}
						]
					},
					{
						id:16,
						list:[
							{name:"最新开盘",src:"http://img10.360buyimg.com/da/s250x250_jfs/t1/133928/26/8935/362960/5f4e31fdE11e8ce86/b542f350ae19b255.jpg!q70"},
							{name:"普通住宅",src:"http://img10.360buyimg.com/da/s250x250_jfs/t1/147851/3/7883/236604/5f56eb26E305661b8/aea8a1ce818e9711.jpg!q70"},
							{name:"别墅",src:"http://img10.360buyimg.com/da/s250x250_jfs/t27541/148/1233512651/228710/d2fcde49/5bc4304dNebac237b.jpg!q70"},
							{name:"商业办公",src:"http://img10.360buyimg.com/da/s250x250_jfs/t1/63249/22/642/326686/5ceca75bE9784ea1d/6757bf35003cc404.jpg!q70"},
							{name:"文旅地产",src:"http://img10.360buyimg.com/da/s250x250_jfs/t1/100504/26/11694/292103/5e3b9d42E002cc0ba/b5dd84bb3b985f87.jpg!q70"}
						]
					},
					{
						id:17,
						list:[
							{name:"套装",src:"https://img10.360buyimg.com/n7/jfs/t1/128870/11/18489/237450/5fad5e4eEb55c362c/bc9e3547c2553cef.jpg"},
							{name:"卫衣",src:"https://img11.360buyimg.com/n7/jfs/t1/146150/14/6281/80930/5f41ef93Ed68aa366/46fba00a86482263.jpg"},
							{name:"衬衫",src:"https://img11.360buyimg.com/n7/jfs/t1/140710/2/13639/203386/5fa7eba1Edae5cf4c/9ad89335e4c517b9.jpg"},
							{name:"裙子",src:"https://img13.360buyimg.com/n7/jfs/t1/151017/38/5757/202092/5fa4bf22Ed38f2f99/c2b7634b8204b6c6.jpg"},
							{name:"连体衣",src:"https://img14.360buyimg.com/n7/jfs/t1/118744/37/14014/46960/5f2ca5c8Ecd06d56a/d5d5a3e3a09b526d.jpg"},
						]
					},
					{
						id:18,
						list:[
							{name:"超薄电视",src:"https://img12.360buyimg.com/n7/jfs/t1/151996/14/4289/129171/5f9e55a8Ea9cea59e/2fcf1784d55f8d00.jpg"},
							{name:"全屏电视",src:"https://img13.360buyimg.com/n7/jfs/t1/136206/4/5665/136008/5f23d979Ee67b2b61/df37aa8cb97b6df8.jpg"},
							{name:"智能电视",src:"https://img13.360buyimg.com/n7/jfs/t1/136206/4/5665/136008/5f23d979Ee67b2b61/df37aa8cb97b6df8.jpg"},
							{name:"OLED电视",src:"https://img10.360buyimg.com/n7/jfs/t1/111515/40/12504/189047/5f11a4f5Eedb5a064/bc0a6bb5ed6adc7a.jpg"},
							{name:"智慧屏",src:"https://img10.360buyimg.com/n7/jfs/t1/121057/23/18288/254988/5fac1172E3bb85324/bbce8c5d3ece322f.jpg"},
							{name:"空调挂机",src:"https://img14.360buyimg.com/n7/jfs/t1/124236/13/18570/115618/5fae3ff8Ebf1437ec/bb5ac1f197cefb76.jpg"},
							{name:"中央空调",src:"https://img10.360buyimg.com/n7/jfs/t1/150944/5/6379/151424/5fac1a2fEd16fbabf/3bbe66082bc88f48.jpg"}
						]
					},
					{
						id:19,
						list:[
							{name:"最新开盘",src:"http://img10.360buyimg.com/da/s250x250_jfs/t1/133928/26/8935/362960/5f4e31fdE11e8ce86/b542f350ae19b255.jpg!q70"},
							{name:"普通住宅",src:"http://img10.360buyimg.com/da/s250x250_jfs/t1/147851/3/7883/236604/5f56eb26E305661b8/aea8a1ce818e9711.jpg!q70"},
							{name:"别墅",src:"http://img10.360buyimg.com/da/s250x250_jfs/t27541/148/1233512651/228710/d2fcde49/5bc4304dNebac237b.jpg!q70"},
							{name:"商业办公",src:"http://img10.360buyimg.com/da/s250x250_jfs/t1/63249/22/642/326686/5ceca75bE9784ea1d/6757bf35003cc404.jpg!q70"},
							{name:"文旅地产",src:"http://img10.360buyimg.com/da/s250x250_jfs/t1/100504/26/11694/292103/5e3b9d42E002cc0ba/b5dd84bb3b985f87.jpg!q70"}
						]
					}
				]
			}
		},
		onLoad() {
			uni.getSystemInfo({
				success:(res)=>{
					// #ifdef APP-PLUS
					//-uni.upx2px(80)
					this.windowHeight=res.windowHeight-uni.upx2px(80); 
					// #endif
					
					// #ifndef APP-PLUS
					this.windowHeight=res.windowHeight-uni.upx2px(80);
					// #endif
				}
			})
		},
		methods: {
			// 点击左边
			leftClick(i){
				this.leftIndex=i;
				this.rightIndex=i;
			},
			swiperChange(option){
				this.leftIndex=option.detail.current;
			}
		}
	}
</script>

<style lang="less">

.left-scroll{
	margin-top: 80rpx;
	background-color: #F7F7F7;
	color: #777777;
	.view-item{
		padding: 20rpx 0;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	 .left-active{
		 border-left: 5rpx solid #FD6801;
		 background-color: #FFFFFF;
		 color: #FD6801;
	 }
}
 
</style>
